body{
  .left_container {
    z-index: 500;
    width: 80px;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    .left_layout {
      background-color: #222;
      text-align: center;
      width: 100%;
      height: 100%;
      display: block;
      .spacer {
        width: 100%;
        height: 20px;
        display: block;
      }
      button {
        color: white;
        margin: 8px auto;
        position: relative;
        width: 70px;
        height: 32px;
        display: block;
        background-color: transparent;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        &:hover {
          color: 993333;
        }
        &#setting {

        }
        &.span_btn {
          span#draft_count {
            color: white !important;
            margin-left: 5px;
            background-color: #933;
            border-radius: 5px;
            display: inline-block;
            width: 20px;
            height: 15px;
            vertical-align: top;
            text-align: center;
            line-height: 15px;
          }
        }
      }
      .edit_layout {
        height: 250;  /* 48+32+...+48 */
        width: 100%;
        bottom: 10px;
        position: absolute;
        display: block;
        button {

        }
      }
    }
  }

  .popup_container{
    z-index: 1000;
    display: none;
    width: 100%;   /*300+12*/ left: 48px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    .popup_back {
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
    }
    .popup_content {
      position: relative;
      left: 10%;
      width: 80%;
      height: 80%;
      top: 10%;
      display: block;
      background-color: white;
      border-radius: 100px 10px 10px 10px;
      button.close {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
        display: block;
        background-color: #993333;
        color: white;
        border-radius: 20px;
        &:hover {
          box-shadow: 0px 0px 10px #993333;
        }
      }
      ul.popup_ul {
        display: block;
        position: relative;
        margin: 0 auto;
        width: 80%;
        top: 10%;
        height: 80%;
        overflow-y: scroll;
        li {
          &.popup_each {
            border-bottom: 1px solid #333;
            width: 80%;
            list-style: circle;
            display: block;
            height: 40px;
            span {
              line-height: 40px;
              height: 40px;
            }
            a, button {
              height: 40px;
              line-height: 40px;
              position: relative;
              vertical-align: top;
              float: right;
              margin-right: 20px;
              font-size: 16px;
              text-decoration: none;
              color: #222;
              background-color: transparent;
            }
          }
        } 
      }
    }
    .popup {
      display: none;
    }
  }

  .right_container {
    z-index: 500;
    margin-left: 80px;  /* the same width with left_container */
    position: relative;
    height: 100%;
    overflow-y: scroll;
    background-color: white;
    display: block;
    .right_layout {
      width: 80%;
      height: 100%;
      margin: 0px auto;
      input {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        height: 30px;
      }
      label {
        font-size: 23px;
        display: block;
        margin-top: 20px;
        margin-bottom: 3px;
      }
      .text_input {
        font-family: "微软雅黑", "Microsoft YaHei", "Microsoft JhengHei", STHeiti, "华文细黑", "Droid Sans Fallback", Helvetica, Verdana, Arial, Tahoma, sans;;
        font-size: 20px;
        line-height: 25px;
        margin: 0px auto;
        width: 100%;
        display: block;
        border: 1px solid #D7D7D7;
        border-radius: 10px;
        box-shadow: 0px 0px 3px #CCC;
      }
      .blog_info {
        position: relative;
        width: 100%;
        height: 30px;
        display: block;
        button {
          border-radius: 5px;
          width: 50px;
          height: 30px;
          float: right;
          margin-right: 5px;
          position: absolute;
        }
        .btn_layout {
          display: block;
          position: absolute;
          height: 25px;
          float: right;
          top: 1px;
          right: 0px;
          input[type=checkbox] {
            margin-right: 10px;
            width: 20px;
            height: 30px;
            position: relative;
          }
          span {
            height: 30px;
            top: 0px;
            vertical-align: top;
            position: relative;
            line-height: 30px;
          }
        }
        select {
          width: 68px;
          height: 30px;
          float: right;
          border-radius: 5px;
          -webkit-appearance: none;
          -moz-appearance: none;
          appearance: none;
          padding: 4px;
        }
        span {}
        input {}
      }
      textarea {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        height: 80px;
      }
      .editor_container {
        z-index: 900;
        position: relative;
        margin-top: 100px;
        display: block;
        width: 100%;
        height: 80%;
        box-shadow: 0px 0px 10px #993333;
        background-color: #EEE;
        .setting_btn {
          border-radius: 10px;
          width: 50px;
          height: 30px;
          display: block;
          background: #993333;
          color: white;
          position: absolute;
          z-index: 1000;
          right: 20px;
          top: 20px;
        }
        #editor {
          overflow: hidden;
          display: block;
          margin: 0 auto;
          width: 100%;
          height: 100%;
          
        }
        .ace_editor {
          font-family: "Ubuntu Mono", Consolas, monospace !important;
          line-height: 24px !important;
        }
        .ace_editor * {
          font-family: inherit !important;
        }
      }
      .spacer {
        position: relative;
        display: block;
        width: 100%;
        height: 5%;
      }
    }
  }
}


